package com.wang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName orders
 */
@TableName(value ="orders")
@Data
public class Orders implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单编号
     */
    @TableField(value = "no")
    private String no;
    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 订单时间
     */
    @TableField(value = "time")
    private String time;
    /**
     * 支付状态
     */
    @TableField(value = "state")
    private String state;
    /**
     * 订单总价
     */
    @TableField(value = "total")
    private BigDecimal total;
    private String userName;
    private String alipayNo;
    private String paymentTime;
    private String returnTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}